using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;
using HengTong.Model.Db.System;


namespace HengTong.ViewModel._Admin.SysSsoApplicationVms
{
    public partial class SysSsoApplicationTemplateVm : BaseTemplateVM
    {
        [Display(Name = "应用标识")]
        public ExcelPropety AppIdExcel = ExcelPropety.CreateProperty<SysSsoApplication>(x => x.AppId);
        [Display(Name = "应用名称")]
        public ExcelPropety AppNameExcel = ExcelPropety.CreateProperty<SysSsoApplication>(x => x.AppName);
        [Display(Name = "回调地址")]
        public ExcelPropety CallbackUrlExcel = ExcelPropety.CreateProperty<SysSsoApplication>(x => x.CallbackUrl);
        [Display(Name = "是否启用")]
        public ExcelPropety IsActiveExcel = ExcelPropety.CreateProperty<SysSsoApplication>(x => x.IsActive);
        [Display(Name = "描述")]
        public ExcelPropety DescriptionExcel = ExcelPropety.CreateProperty<SysSsoApplication>(x => x.Description);

	    protected override void InitVM()
        {
        }

    }

    public class SysSsoApplicationImportVm : BaseImportVM<SysSsoApplicationTemplateVm, SysSsoApplication>
    {

    }

}
